package com.alcj.common.framework;

import java.io.Serializable;

/**
 * <b>功能：分页实体类</b><br> 
 * <br>
 * <b>完整路径：</b> com.framework.common.Pager <br> 
 * <b>创建日期：</b> 2016年4月11日 上午10:36:36 <br>
 * @author guokb<br>
 * @version 1.0
 */
@SuppressWarnings("serial")
public class Pager implements Serializable {
	
	public Pager(final Integer maxSize, final Integer pageNum,
			final Integer recordNum, final Integer currentPage) {
		this.maxSize = maxSize;
		this.pageNum = pageNum;
		this.recordNum = recordNum;
		this.currentPage = currentPage;
	}
	
	private Integer maxSize;	//每页的行数
	private Integer pageNum;	//总页数
	private Integer recordNum;	//总记录数
	private Integer currentPage;//当前页数
	private Integer currentLine;//当前记录指针行数
	
	//getter and setter methods
	public Integer getMaxSize() {
		return maxSize;
	}
	public void setMaxSize(Integer maxSize) {
		this.maxSize = maxSize;
	}
	public Integer getPageNum() {
		return pageNum;
	}
	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}
	public Integer getRecordNum() {
		return recordNum;
	}
	public void setRecordNum(Integer recordNum) {
		this.recordNum = recordNum;
	}
	public Integer getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(Integer currentPage) {
		this.currentPage = currentPage;
	}
	public Integer getCurrentLine() {
		return currentLine;
	}
	public void setCurrentLine(Integer currentLine) {
		this.currentLine = currentLine;
	}
	
}
